package com.baige.common.core;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 错误编码
 * @author wulg
 * @date 2018/12/12.
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ErrorCode implements Serializable {

    private int code;
    private String message;

    public ErrorCode(int code,String message){}
}

